make the required modules optional