Categories implemented. directive added