added some functions Ill be using in various sol packs
merged