v1. has a bug in random pt