added virtual school logic