beggining of RS for lamp...bugged and stupid but works somehow