Added the constructor and removed background and size calls