stuff for lightning version