refactored unit slightly
fixed bug with astarring to center