Prepared code for better modularization