oh and I left some debug code in by accident, removed it now.