Application of psychology to educational field