Added platform funtions