function which makes easy