will do it in python instead… removing java code