working on physical layer