fix method to make more sense in code