modified lines of code in platform finder