Added code for position frame (1bit)