resolved more compiler errors, but still nothing works