replace size with constants