modification for pretty