[28] a messy solution, only uses rec because that's all I know