fixed bit shifting + output