resolved code