enforces param type of Object