Removed superfluous print function