added raptus components utility function