Basic (still broken) raptor implementation