allowing only certain types