revamp cljs platform functions