small point but if you're checking explicitly for the params above then you don't need to use `.get`