reverted back to previous method