this get can move out of the if/else statement now