solved, frequently-used-functions created