pushing crap code because i cannot test locally at the moment. sorry chris