bitmap code continued