use sys instead of platform