always used non-empty directory
making period as integer
better name for variables
use enum instead of string
extracting method
use enum in place of string
moving method
extracting method