Psychology as a science