it can be executed in java and python