implement basic main activity