added libraries and some style