making improvements fto firmware functionality