modules logic layout