change function name to lowercase
remove unwanted swap function
remove margin styling
stylistic fixes