cleaner code
cleaner code
code for dependent data