refactored capabilities