added headlamp method and command