single process hack all credits to kota