Added useful code