Added a nice function for user