Added gradient and loading