hacky shit required but it works, damn it.