added selected by functions