If, then, else, definition and that sort of stuff