optimise the method to literal