habtm working