working on platform compatibilty