Added function return type and header reading