creating control classes