fixed bugs, elev now runs