remove debug statement
prevent negative numbers