started writing main methods