added copy and fixed alignments