Theoretical and practical aspects of working memory