Added function header for constructor