Adding warn function and more instructions