adding a third java activity