platform->framework and make some things clearer