The function made by myself