use const wherever possible