code for installation