trying to get bg to work