Added check for platform
just removed print