added crossing stuff