implementing raptorize