added basic tracking to backend