Changed vote API a bit