methods first class written