Added static variable instead of using magic numbers