added freeing bitmap (potentially replaced after scaling up)