changed to GridLayout, made it a 1 by 7 grid, and added all the parameters for the constructor