add logging
version to 0.5