Outsourcing memory check, nice :)