it aint pretty but it works for me