compiler errors taken care of