Added ptr declarations