faster pointing code