need a return in the istype(laser) scope