methods compile without error