this now works and is pretty quick