make platform a method to support chaining syntax