Adding the functions imp