v2, where p2 and g2 is used instead of stupid hard coding -.-