make api more readable