get fuctions to wotk better