adds platforms as functions