building, helicopters, and character moving make a function for them