Removed ununsed code