auto create units
adding pry
change puts to logger
add pry to development
simplify array creation