removing reference to int