added top and bottom plane
tested out input files