Added ctr function to all variables