fixed some method calls (used static instead of non-static)