makes basic function