sort of working hack