On designing truthful Mechanisms for online scheduling