debugged until running on porus was possible