use proper defines instead of numbers