changed the way afap works