changed gint to int