added Logging

finally