creating function for removing bulb