adjusted to hard set the order of operation