removed isDev function