adjusted view style.
added API request function.