two tests for isAlreadyTaken, and start of implementatin of the function
fixed merge