removed unused parameters
the compiler now checks my code better