fixed
completed the function