modified for formatting