initial commit with functions from HolisticWare site