made functions easier