Should use constants here instead of magic numbers