added blit functions