refactored, added ignore top part of court