TODO:change activities to fragments