creating some usual function