added prime stuff