add pretty code