its ugly but it might work