Added main interface functionality