a coffee grinder can be used to grind whole coffee beans before brewing