Stupid echo left inside changeFormat function removed.