made randomElement more pointful per bernalex's suggestion