setup prime class