changed byline usage from depricaed API to Standar API