separate based on fraglib type