refactored actionchain + schil logic