good point; will make it a constructor arg and add bounds checking