removed printStackTrace()