main methods enclosed in return commands