formatting functions added - will separate to a full class soon