Some transactional stuff implemented