Added compiler optimization