Fixed create methods
Fixed bug with end of array and whitespace