alignment, spaces and privitizing some functions