got the bg semi-working