Added guards and uses amita.primitives.net