User's function added