created first class and methods