Google and some work on main functionality