My function for Hackbright