set defaults when not passing data