prettificaiton and edditing