Added partial codes