adding public function prototypes
adding first public function prototypes
formatted