created first functions