Adding intial function setup