make params optional where applicable