log values to debug whats going on