Refactored method for clarity

@pbadenski
@maxfliri