added clever log in Activity