added logging for dev