Implementation for example assignment