cleaned up bs