continue to do draw rectangle function.