desning and sepaate partial for error messages