adding no-argument constructor for component