made this stuff more readable/understandable