Removing ap in favor of writing to log