deleted isWrapped() function, now an if statement checks if the wrap option is set to true or false and tested