removed a function
Added warning