changes made to achieve compilation