added copy and fixed formatting