Code Review pull request

It looks like 200 and 300 have some significance. Think about declaring constants rather than using a "magic number."