Added function annotations